Skip to content

Support mutiple management networks in systemvms#4678

Merged
nvazquez merged 2 commits intoapache:mainfrom
ravening:ssvm-multiple-network
Feb 22, 2022
Merged

Support mutiple management networks in systemvms#4678
nvazquez merged 2 commits intoapache:mainfrom
ravening:ssvm-multiple-network

Conversation

@ravening
Copy link
Copy Markdown
Member

Description

Currently only one management.network.cidr is suuported in systemvms
Allow supporting comma separated list of cidr's so that multiple
networks are reachable from systemvms.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

cidrs=(${MGMTNET//,/ })
for cidr in ${cidrs[@]}
do
ip route add $cidr dev eth1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravening I am wondering why there is no "via gateway" in route.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravening I am wondering why there is no "via gateway" in route.

@ravening any update?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravening I am wondering why there is no "via gateway" in route.

@weizhouapache do we need the "via gateway" ? it was not there in the original change

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravening the original line contained it (ip route add $MGMTNET via $LOCAL_GW dev eth1), can you explain why is removed?

@shwstppr shwstppr added this to the 4.16.0.0 milestone Feb 15, 2021
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 29, 2021

ping @ravening any update?

@ravening ravening force-pushed the ssvm-multiple-network branch from 0465a2f to 2e22e7f Compare July 29, 2021 08:53
@ravening
Copy link
Copy Markdown
Member Author

ping @ravening any update?

@rhtyd resolved conflicts

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 687

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-1414)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 74119 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4678-t1414-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_network.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 86 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_invalid_upgrade_kubernetes_cluster Failure 3612.97 test_kubernetes_clusters.py
test_02_deploy_and_upgrade_kubernetes_cluster Failure 3611.12 test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster Failure 0.05 test_kubernetes_clusters.py
test_04_basic_lifecycle_kubernetes_cluster Failure 0.05 test_kubernetes_clusters.py
test_05_delete_kubernetes_cluster Failure 0.04 test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_08_deploy_and_upgrade_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.04 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 93.19 test_kubernetes_clusters.py
test_04_create_template_with_checksum_md5 Error 65.66 test_templates.py
test_05_create_template_with_no_checksum Error 65.60 test_templates.py
test_03_delete_template Error 298.42 test_templates.py
test_09_list_templates_download_details Failure 0.03 test_templates.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Failure 544.01 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 366.70 test_vpc_redundant.py

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-1433)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48772 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4678-t1433-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 86 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_isolate_network_FW_PF_default_routes_egress_true Failure 113.97 test_routers_network_ops.py
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failure 392.58 test_routers_network_ops.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 547.46 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Failure 465.35 test_vpc_redundant.py
test_05_rvpc_multi_tiers Failure 560.92 test_vpc_redundant.py
test_01_redundant_vpc_site2site_vpn Failure 361.02 test_vpc_vpn.py

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Sep 8, 2021

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖️ el7 ✔️ el8 ✖️ debian ✔️ suse15. SL-JID 1163

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✖️ el8 ✔️ debian ✔️ suse15. SL-JID 1250

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1265

@nvazquez
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-2079)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42682 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4678-t2079-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

@nvazquez
Copy link
Copy Markdown
Contributor

Ping @ravening can you check the open comment on the script file?

@nvazquez nvazquez modified the milestones: 4.16.0.0, 4.17.0.0 Sep 26, 2021
ravening and others added 2 commits September 29, 2021 11:34
Currently only one management.network.cidr is suuported in systemvms
Allow supporting comma separated list of cidr's so that multiple
networks are reachable from systemvms.
@ravening ravening force-pushed the ssvm-multiple-network branch from 2e22e7f to b03498e Compare September 29, 2021 09:36
@ravening
Copy link
Copy Markdown
Member Author

Ping @ravening can you check the open comment on the script file?

@nvazquez @weizhouapache made the changes

@nvazquez
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖️ el7 ✖️ el8 ✔️ debian ✖️ suse15. SL-JID 2650

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2657

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-3390)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31258 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4678-t3390-kvm-centos7.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

@weizhouapache weizhouapache self-assigned this Feb 21, 2022
Copy link
Copy Markdown
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested ok.

@nvazquez nvazquez merged commit 831f7cf into apache:main Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants